package zj.it.bhne.gridengineeringsurvey.entity.greendao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Keep;


/**
 * 线的实体
 */
@Entity
public class Line{

    @Id
    private Long id;

    //开始点编号
    private String start_id;
    //结束点编号
    private String end_id;

    //线的名称
    private String name;

    //线的类别
    private String type;
    //线的类型
    private String types;

    //线路型号名称
    private String versionName;

    //线路状态
    private String statue;

    //线路类型id
    private String type_Id;

    //线路回数
    private String backNum;

    //线路根数
    private String num;

    //敷设方式名称
    private String methodName;

    //线的长度
    private String line_len;

    //项目id
    private Long item_id;

    //点A的经度
    private String latA;

    //点B的经度
    private String latB;

    //点A的纬度
    private String lonA;

    //点B的纬度
    private String lonB;

    //点A的名字
    private int name_a;

    //点B的名字
    private int name_b;

    //两点之间的距离
    private String length;
    //去module查询的id
    private String ModuleID;
    //保存时候储存的信息
    private String ModuleTxt;

    @Generated(hash = 341140526)
    public Line(Long id, String start_id, String end_id, String name, String type,
            String types, String versionName, String statue, String type_Id,
            String backNum, String num, String methodName, String line_len,
            Long item_id, String latA, String latB, String lonA, String lonB,
            int name_a, int name_b, String length, String ModuleID,
            String ModuleTxt) {
        this.id = id;
        this.start_id = start_id;
        this.end_id = end_id;
        this.name = name;
        this.type = type;
        this.types = types;
        this.versionName = versionName;
        this.statue = statue;
        this.type_Id = type_Id;
        this.backNum = backNum;
        this.num = num;
        this.methodName = methodName;
        this.line_len = line_len;
        this.item_id = item_id;
        this.latA = latA;
        this.latB = latB;
        this.lonA = lonA;
        this.lonB = lonB;
        this.name_a = name_a;
        this.name_b = name_b;
        this.length = length;
        this.ModuleID = ModuleID;
        this.ModuleTxt = ModuleTxt;
    }

    @Generated(hash = 1133511183)
    public Line() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStart_id() {
        return this.start_id;
    }

    public void setStart_id(String start_id) {
        this.start_id = start_id;
    }

    public String getEnd_id() {
        return this.end_id;
    }

    public void setEnd_id(String end_id) {
        this.end_id = end_id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTypes() {
        return this.types;
    }

    public void setTypes(String types) {
        this.types = types;
    }

    public String getVersionName() {
        return this.versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getStatue() {
        return this.statue;
    }

    public void setStatue(String statue) {
        this.statue = statue;
    }

    public String getType_Id() {
        return this.type_Id;
    }

    public void setType_Id(String type_Id) {
        this.type_Id = type_Id;
    }

    public String getBackNum() {
        return this.backNum;
    }

    public void setBackNum(String backNum) {
        this.backNum = backNum;
    }

    public String getNum() {
        return this.num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getMethodName() {
        return this.methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getLine_len() {
        return this.line_len;
    }

    public void setLine_len(String line_len) {
        this.line_len = line_len;
    }

    public Long getItem_id() {
        return this.item_id;
    }

    public void setItem_id(Long item_id) {
        this.item_id = item_id;
    }

    public String getLatA() {
        return this.latA;
    }

    public void setLatA(String latA) {
        this.latA = latA;
    }

    public String getLatB() {
        return this.latB;
    }

    public void setLatB(String latB) {
        this.latB = latB;
    }

    public String getLonA() {
        return this.lonA;
    }

    public void setLonA(String lonA) {
        this.lonA = lonA;
    }

    public String getLonB() {
        return this.lonB;
    }

    public void setLonB(String lonB) {
        this.lonB = lonB;
    }

    public int getName_a() {
        return this.name_a;
    }

    public void setName_a(int name_a) {
        this.name_a = name_a;
    }

    public int getName_b() {
        return this.name_b;
    }

    public void setName_b(int name_b) {
        this.name_b = name_b;
    }

    public String getLength() {
        return this.length;
    }

    public void setLength(String length) {
        this.length = length;
    }

    public String getModuleID() {
        return this.ModuleID;
    }

    public void setModuleID(String ModuleID) {
        this.ModuleID = ModuleID;
    }

    public String getModuleTxt() {
        return this.ModuleTxt;
    }

    public void setModuleTxt(String ModuleTxt) {
        this.ModuleTxt = ModuleTxt;
    }

    @Override
    public String toString() {
        return "Line{" +
                "id=" + id +
                ", start_id='" + start_id + '\'' +
                ", end_id='" + end_id + '\'' +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", types='" + types + '\'' +
                ", versionName='" + versionName + '\'' +
                ", statue='" + statue + '\'' +
                ", type_Id='" + type_Id + '\'' +
                ", backNum='" + backNum + '\'' +
                ", num='" + num + '\'' +
                ", methodName='" + methodName + '\'' +
                ", line_len='" + line_len + '\'' +
                ", item_id=" + item_id +
                ", latA='" + latA + '\'' +
                ", latB='" + latB + '\'' +
                ", lonA='" + lonA + '\'' +
                ", lonB='" + lonB + '\'' +
                ", name_a=" + name_a +
                ", name_b=" + name_b +
                ", length='" + length + '\'' +
                ", ModuleID='" + ModuleID + '\'' +
                ", ModuleTxt='" + ModuleTxt + '\'' +
                '}';
    }
}
